var reverseString = function(s) {
    let n= s.length
    let l=0,
        r=n-1
    while(r>=l){
        let c=''
        c=s[l];
        s[l]=s[r];
        s[r]=c;
        r--;
        l++;
    }
};

